package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.RecommendSongs;

/**
 * recommendMapper接口
 * 
 * @author wayi
 * @date 2025-03-11
 */
public interface RecommendSongsMapper 
{
    /**
     * 查询recommend
     * 
     * @param trackId recommend主键
     * @return recommend
     */
    public RecommendSongs selectRecommendSongsByTrackId(Long trackId);

    /**
     * 查询recommend列表
     * 
     * @param recommendSongs recommend
     * @return recommend集合
     */
    public List<RecommendSongs> selectRecommendSongsList(RecommendSongs recommendSongs);

    /**
     * 新增recommend
     * 
     * @param recommendSongs recommend
     * @return 结果
     */
    public int insertRecommendSongs(RecommendSongs recommendSongs);

    /**
     * 修改recommend
     * 
     * @param recommendSongs recommend
     * @return 结果
     */
    public int updateRecommendSongs(RecommendSongs recommendSongs);

    /**
     * 删除recommend
     * 
     * @param trackId recommend主键
     * @return 结果
     */
    public int deleteRecommendSongsByTrackId(Long trackId);

    /**
     * 批量删除recommend
     * 
     * @param trackIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRecommendSongsByTrackIds(Long[] trackIds);
}
